package com.william.jdbcplus.core.toolkit.lambda.support;

import com.william.jdbcplus.common.annotation.*;
import com.william.jdbcplus.common.enums.IdType;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * 实例类，只是用于写代码实例
 */
@Data
@NoArgsConstructor
public class TestEntity {
    /**
     * 租户ID
     */
    @ApiModelProperty(hidden = true)
    @TableId(value = "id", type = IdType.GUID, size = 32)
    private String id;

    /**
     * 客户端id
     */
    @ApiModelProperty(hidden = true)
    private String clientId;

    /**
     * 用户id
     */
    @ApiModelProperty(hidden = true)
    private String userId;

    /**
     * 租户ID
     */
    @ApiModelProperty(hidden = true)
    private String tenantId;

    /**
     * 用户名
     */
    @ApiModelProperty(hidden = true)
    private String userName;

    /**
     * 账号
     */
    @ApiModelProperty(hidden = true)
    private String account;

    /**
     * 角色id
     */
    @ApiModelProperty(hidden = true)
    private String roleId;

    /**
     * 角色名
     */
    @ApiModelProperty(hidden = true)
    private String roleName;

    /**
     * 组织机构
     */
    @ApiModelProperty(hidden = true)
    private String orgCode;

    /**
     * 状态[0:未删除,1:删除]
     */
    @TableLogic
    @ApiModelProperty(value = "是否已删除")
    private Integer isDeleted;
}
